import request from '@/utils/request'
// 登陆请求
export const LoginApi = data => {
  return request({
    method: 'POST',
    url: 'frame/login',
    data
  })
}

// 获取用户资料
export const getUserpostAPI = (data) => {
  return request({
    method: 'POST',
    url: 'frame/profile',
    data
  })
}
